package cn.kgc.springcloud.clients;

import cn.kgc.springcloud.entity.Clazz;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 课工场
 * @date 2025/1/18
 * @description
 */
@FeignClient("CLAZZSERVICE")
public interface ClazzClient {

    @GetMapping("/clazz/{id}")
    Clazz getClazzById(@PathVariable("id") Integer id);
}
